﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TinyPMS_Jerusalem.Models.DBModel.Property>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	物品列表
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

	<h2>物品列表</h2>

	<fieldset>
		<legend>物品信息</legend>
		
		<div class="display-label">物品名称</div>
		<div class="display-field"><%= Html.Encode(Model.Name) %></div>
		
		<div class="display-label">物品简介</div>
		<div class="display-field"><%= Html.Encode(Model.Introduction) %></div>
		
		<div class="display-label">是否提供借出</div>
		<div class="display-field"><%= Html.Encode(Model.Available) %></div>
		
		<div class="display-label">是否已借出</div>
		<div class="display-field"><%= Html.Encode(Model.Status) %></div>
		
		<div class="display-label">物品分类</div>
		<div class="display-field"><%= Html.Encode(Model.Category) %></div>
		
		<div class="display-label">物品分类标签</div>
		<div class="display-field"><%= Html.Encode(Model.Tags) %></div>
		
		<div class="display-label">物品标记价格</div>
		<div class="display-field"><%= Html.Encode(Model.Price) %></div>
		
	</fieldset>
	<p>
		<%= Html.ActionLink("编辑", "Edit", "PropertyAdmin" , new { id = Model.ID })%> |
		<%= Html.ActionLink("返回列表", "ListAll")%>
	</p>

</asp:Content>

